#ifndef __ASSERT_HPP__
#define __ASSERT_HPP__

namespace utils {

template <typename E>
class assert {
	public:
		inline void operator() (bool condicion, const std::string& message) throw(E) {
			if (!condicion)
				 throw E(message);
		};
}; // class assert

} // namespace utils

#endif /* __ASSERT_HPP__ */

